Fix tempfile bug on platforms lacking mkostemp and mkstemp.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Jul 2013 21:44:43 +0000 (23:44 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Jul 2013 21:44:43 +0000 (23:44 +0200)
commitaa91488111110471f59835d5423ecededf3a3493
tree4d31b1ea89214a448a7e93ccfcec8b856ba129b1
parent0e61c52a9cb978948b0c7f8823ea9f3b8e57fed3
Fix tempfile bug on platforms lacking mkostemp and mkstemp.

* callproc.c (create_temp_file) [! (HAVE_MKOSTEMP || HAVE_MKSTEMP)]:
Do not assume that emacs_close (INT_MAX) is a no-op.
src/ChangeLog
src/callproc.c